#!/usr/bin/env python3
# coding: utf-8

import numpy as np
import cv2 as cv
img = np.zeros((500,500,3),np.uint8)
font = cv.FONT_HERSHEY_SIMPLEX
cv.putText(img,'hello opencv',(10,200),font,2,(255,255,255),cv.LINE_8)

cv.imshow('img',img)
cv.waitKey(0)
cv.destroyAllWindows()